move model into shared library, move idea plugin into global sbt-libs (out of project)