Refactor Bitcoin server to use ruby gems instead of java jars