code cleanup and made function to delete objects
Merge branch 'master' of https://github.com/sksharan/OpenGLTest