This is a data access layer implementation using  PetaPoco