added exceptions
Added no routes found functionality