Update application structure. Begin modularizing for easier tuning of output streams and codecs