finally split all files in headers and sources.