Base classes to implement and handle mvc-based states for game development using pygame