Beginning stages - added field codes and basic data retrieval functionality