Add Gem version badge, refactor for consistent return elements from REST APIs, increase testing.