Implemented a config file parser and added a config file.

The config files name is 'config' and it has to exist in the same
directory as the executable. Of course we could make it possible to set
the filepath via program parameter.