change in global.h
Added timing and some structure.
removed unecessary files