Changed logic to output a RSF file
Started work on viewer
Working on viewer