client: moved custom OpenGL convenience functions into a separate file and removed custom implementation of sphere drawing