finish setting up directory structure, adding viewer