Added classes for data layer

Start implement data layer