move nav to partial and javascript before closing /body
implemented data structure for lists/pairs, starting list controller.