Cors added, some datamMdels and Controllers fixed