Merge pull request #1 from LCAS/icsr-marc

refactoring to extract main and create a library
ignore all the produced nonsense files
Merge branch 'master' into icsr-marc