added plato to check code mantainability
fixed semicolons on files
splitted templates