Consolidating REST API and Web Application into single server.