restructure, add mongoose/mongodb