organize menu code into sub-folder
refactor code
- remove d3dutil and put its methods into Direct3D
- replace all occurrences of local devices with the global one
initial version of timer and menu expansion