This is a backup before I strip out the openGL and import a few libs