rename lib -> core