Updated to gem standard

Updated the project to be bundled as a ruby gem.