refactor the code into modules, optimize the code for faster creation and display of new sectors by using a single vertex list per sector (also required a pyglet monkey patch to use ctypes interface of numpy arrays)