Renamed files, made the program a daemon, and added comments