refactor: move Meteor method into a new file