Added optional config file. Reformated code a bit. Improved --help