Implemented creation of link tables for multi relations; fixed spec