refactoring, first playmod nearly implemented (missing console input)