Basic server and database implementation.