Refactored code a bit to be cleaner

Refactored code and added in more features to allow for multiple
competitions to be active at a time. Also added in a setup file so other
people can run this app on their local machine