Cleaned using eclipse. Changed GameElement to an abstract class.