Generating interface and implementation classes with codemodel