organize interfaces, apply java 8, database schema to case class on sbt