modify reader/writer to deal with open routes and add examples