Refactor memory worker to connect directly to Mongo
Remove API routes we don't need now