Basic calsses based on libgdx for some general uses