removed basic_info queries - no longer needed now that data is in own model; save formatted codes with data items