Initial commit of capAdapter