Scala-based 2D Engine and Framework