A simple Game loop framework to use in Java games