Uses Core Data to store thoughts

Thoughts created are now stored using Core Data.