main method kinectthread

contains methods for kinectthread