added multi threading as different project file working with netbeans