Make domain and mongo url configureable
Add handler for mongo error