MVC based game framework