Type-safe Scala api on top of proguards .main method. TODO: - capture stdout and make it available to the caller via stream