Scala port done. Some things are broken