Use Newark Application class variables directly

## Use Newark Application class variables directly

Currently, in a Newark app, three class variables `routes`,`before_hooks`, and `after_hooks` are used to store system-level variables. This PR is intended to leverage these class instance variables directly instead of creating a copy of these variables upon each request. The clear benefit is to presumably make it more efficient and smaller memory footprint.