Added model
added coredata framework