split template file into a file
basic color impl