Refactor autoresponder to OOP