require rspec on spec_helper
Refactored entities as structs for easy to_h