Bug fixes; adf license to gemspec
Small API addition