less complicated
add Loader
add getTriggers + minors change
"modules" wasn't a good choice in Ruby