Add Codekit configuration and clean code