first bit of work on client-server structure for mantis. basic client, server, and connection classes tested and works