Conversion to new spec syntax with transpec
Updated version with merging of PR - #37 #39 #40 #42