sorry for necroposting, i've done my research, i would prefer mongoDB since it's just on the disk side, and not taking much memory like Redis. Memory issues are hard to deal with and messes up your whole server
That looks good to me. Although I am not sure if it would have any side effects to other routes without testing can't tell for sure. I only see one db call in there for themes. I am not sure if there could be a case where webserver.js is required from app.js and then webserver.init is called before all the setup is done in webserver.js.