Added support for basic trade conditions (up to 64 independant flags).  Changed header file format to respect include directories