Almost finished implementing forking mechanisms and sync for init-,control- and data-channel