updated to try and have travis run unit tests
Attempting to fix issues with travis build
Added CheckStyles

And updated code to follow