Fixed 404 and added 500 view to resolve #44