Remove ifdefs for NS, MS etc and started to hack Time class into
existance. WIP