Rework couch-emf codebase, move it to maven project.