add nokogiri gem

and rearrange things a big