Minor tweaks, some refactoring, and main.rb to show functionality