Added code sniffer
CS added to travis
No need to make protected fields
Merged new changed.