Implement application as [Poco Server Application](https://pocoproject.org/docs/Poco.Util.ServerApplication.html) so that it can be run in the background with just the web interface running.