created dispatcher and added dispatcher to auto_load