styling and api changes

Added gitignores, renamed folders for more intuitive names, moved variable up for easy change, added ability to run as service