start to modernize ccv_convnet (CPU convnet impl)