Moved templates for class and interface and separate files.