refactor: properly expose modules
refactor: now parse trigger.pattern in the Agito class