added support for local data and created an test route page