Modernize gem
Move constants into module
Make base_url depend on Rails environment
Make scripting id options mandatory