Create ip range generator mechanism, add Sinatra RESTful interface