Minor refactorizations

Issue #1: Implementing Data Api
Adding Data case classes to objects

Issue #1: Implementing Data Api