Add gemspec files automatically
Mixed changes

Move gem into module. Add exceptions, and partial documentation.