Added CoreData Api

But the database structure is not been added… I need to investigate
this further.