moved all non-strucuterd lines from main to init()
recreated create_shader(...) helper function.
recreated create_program(...) helper function
recreated initialize_program(...) helper function
recreated initialize_vertex_buffer() helper function
recreated display() helper function