refactor main-class, so that the API and the Frontend uses different express-apps