added map from phone to int
moved some functions from convert_ag_output to util
updated cacss to operate on array inputs
added goldfragments extraction code