Refactores shaders into seperate class slightly.