restructuring source files and adding footer to scene