add build.rb to create jar file