add mongodb and finish the skeleton