Added basepath, removed unnecessary routes
Updated with basePath option