Updated relevant codes to use new way of loading shader program