moved the init theme function file and formatted some curly braces