Adding code sniffer
Adding CS, fixing CS warnings