start of making iaa_lib a class