working, but functionality is limited to a few fields (due to an issue encoding the Scala sig bytes). Nevertheless now is a good point to spin this off into its own project.