MAIN: Add main.rb file

* this file contains the main program implementation