Implemented start script and command line parsing for daemon.

+ renames for code beautification.