My attempt at writing a small api for developing games in android