Some revamping
Added configuration file support. Broke up actions into commands and implemented the start command. Added logging support.