Added code style checking and updated code to build according to the style check