general cleanup + moved SingleObjectPosesInfo class to helper functions