Introduce project model.

Also, introduces FactoryGirl to deal with dependencies in specs.