Added main.py

This is the main application code - to run this ensure you have the config.yml in the same directory and then execute it.