refactored to medialib.core as root core package