adding domain model and rails erd