moved point cloud processing to threadedFunction
added separate initPointCloud method to setup point clouds
added option for having colored and non-colored point clouds
added parameter for pointCloudDensity