Move models to core package, fix build.sbt