Moved triggers to their own file