Reconfigured repo for pixel detection and device detection.

Put both seperate ways into seperate foldeer