extracted 2D point class to own header and implemented a basic bezier rendering algorithm (possibly not working correctly)