rename encoding implementation source files and adjust relative files