Added PetaPoco and refactoring of test code.