added perl scripts for code transforming and xml machine descs