Add template for 404 and 500 error
update router
Update router to pop 404 on public assets that does not exist or on folders