Change to always have multiple handlers
Remove not needed function
Added options for default and custom 404 and 500 error pages
Class for handling 404 not found
use handler for not found error page
Add test coverage for 404 error page
Add new line for better code readability