cleaned up base skeleton, working convertor/save, php skeleton