Scala framework for launching and managing processes