B2STAGE service core code for EUDAT project