Separated config parsing in separate class and improved lock file handling
Merge pull request #29 from tuxpoldo/master

Config parsing moved to separate class (Closes #25)