added mongoose, changed routes, added methods to model nations