A resource manager written in Scala and Java