Neography related and unnecessary imports are removed
Dir.home is changed with /home/ubuntu for jruby compatibility