change view to routers instead of static file.