Added new handlers.
- NotFoundHandler for 404 status code.
- ErrorHandler for 500 status code.