Engine's part for ARGOeu/ARGO#47. Mapping POEMs to APs

Engine now cleans rows that are not matching any AP. Also, we added
support for the new AP schema.