Refactoring and Cronjob

- Refatored some classes
- Implemented match updates as a cronjob