Make the cli parser a sub-module. Add an option for a trigger directory