move 3d scene to its own directory
reorganize code