Added has_many has_one and belongs_to associations. Also added controllers and view generators