Rewrite the app with the Cuba Microframework