Created 3d rotating cube with handlers and listeners