added a glmanager and other work on shadermanager