Port OC contact backend to OC5
initial work on multi calendar support