Controller and server app.