Machining Class added. doSeparate founction added.