Updates and refactoring
Updates and refactoring

Updates
=======
errorhandler -> function to manage errors

Refactor
========
moved functions into own file
- match
- player
- ticket
- turns