Made basic server implementation with example