moving media type to model scope
adding 2 gems simple_enum and rails-erd (just for fun)