Added api and 404 routes