Refactor code to make it interfacable
Some more updates to clean the code a bit:
- Restructure the project directory
- Refactor code to separate functions so they can be called from outside
- Tune the command line interface to make it more consistent
- Remove some redundant lines from 'settings.yaml'
- Streamline output to
stdout
For the rest, I tried to keep everything as much as it was, so that it works in the same way.