now using case classes in models, adding Idea project