More work on viewer app

- adjustments to usage of directories and serialization done in
CarbonCore