move cavs parser in it's own file