Moved shader program details out to MainProgram class.