added model, datamapper, fixed migration, modified view