FORMATION OF BINARY-SYSTEMS AND PROTOPLANETARY DISKS - A UNIFIED APPROACH