a logic module defination tool