Refactored load shader method to Application class