refactor code

added config for OS
added program to reload config
added commented out potential broken effect