changed file organization and began to hammer out some basic js functionality