added custom validator to check if mongodis are correct
merge
autoformat of routes