Add simple logging to scheduler

Also, config has been refactored.
Merge pull request #61 from miarmak/logging_and_conf_refactoring

Add simple logging to scheduler