Change to read shader from text file
make createProgram a independent function