working on the database conversion class
still working on the database conversion class
Added (yet untested) function to get the an's from the ap's