Domain layer and DB persistence with data mapper

Change-Id: I5a290e9de9c8b026a4922076801a85aa1836a006