Separate common code into library
Currently source files are compiled into
*.o files and then into
cdindex etc. If a new tool is added the same should be done for it. It’s not good for development for CD-Index. The corresponding code should be moved to e.g.