fix ssl, readme, gemfile, and gitignore. code cleanup and rubification.