Splitted viewer json into three
Added new app module for viewer
refs #245