Added settings

Settings are read from settings.txt and can be accessed universally.