Added base engine with state management, resource management, input,
background images, and buttons.