move gl functions to separate library and test it
move canvas querySelector to gl helper function
add App and AppRenderer class and organize imports