Bunch of modifications

- Changing the configuration to be a module in Ruby.
- Updating Executor class.
- Simplifying main script.