Commit amended for code style and to rename Static to Direct mode by Adam Honse <calcprogrammer1@gmail.com>