small fixes in routes demos
refactor to environment variables port and mongo host