Coredata query methods added.
Deleting unused models.