make storage class.
refactoring and passing request object to event parameter when onrequest occured.