move enums to a single file.