Example creating a data layer class.