[INCOMPLETE] Base server.

I added some more parts of the base server. I still need to add a few
classes to complete the base.