Cleaned up inconsistencies in model methods

Model methods now consistent for carrier model
Changed Port Groups to use mongodb

port groups changed to use mongodb instead of mysql