Refactored shader class to only contain the currently used functions,
added some helper functions to asset manager.