core: initial commit

Signed-off-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>