combine orders for a turn into a single file
also: bool.h needs settings.h
also: add a schema for the database