add net/ to source list
move caif out to separate file