Changes - started to work on new HAL layer
and added X86 support