fix moduleclass for [ab] packages, plus headers

enjoy. this is for #525

Signed-off-by: Fotis Georgatos <fotis.georgatos@uni.lu>