fixed coredata problem

Crash fixed.
Deleted the NSManagedObject code for the sake of sanity/cleanliness

[problems]
There are some legacy classes/code that need to be cleaned up