added core data
more basic structure and core data util