migrated scala to automatic packages and added scala.install