Add tests for mappers persist methods. Refactor app.rb to use models in conjunction with mappers.