- added config file and commandline parsing