Added simple server functionality.