Created database adapter and data access object for measure.