Voxel Server as a library

First step toward voxel server as assignment client

- moves the bulk of the voxel server into a library and class.
- changes voxel-server main.cpp to just use that class.