Baisc Framework for a simple 2D game