adding shader loader to shader class

there are still many problems with the rendering system that need
fixing.