root element issue

The following PR solves issue #3.
Updated gemspec AMS version.
It includes some corrections for typos etc.