refactor migration
add seed.rb; fix typo for relationship table
add routes for relationships
add relationship
add relation type as header of table