refactor app error handling
start implementing filters