Implemented basic server functions and created a small client for testing