Small changes to fileparser.h and xadb.h and first work on xadb.cpp