Added the checkstyle configuration file at the build. Was using the default instead of the custom one. Added freemarker layout and master macro for the pages. Define all the css and js imports and code ftls for inclusions.