added mongo and preparing to serialize model for angular