rename class gridCom to GridCOm
Update Ap recognition pattern