adding support for xml-simple function options
adding explicit Apache2 license