Base code I use for LibGDX games