Finalized version of AccountGroup

finished AccountGroup.index() with test method... good to go