Use argument for config file + add integration test

- Configurable path for config file
- Integration test
- PEP8 all the things