Watches for certain events and runs tasks based on them!