Made common xia.h file.
Merge branch 'reorganize' of https://github.com/XIA-Project/xia-core into reorganize