Added ability to create and read models from database with correct checks
Added cors
Fixed some read fields to populate when GETing them