add mongodb and some view files