Moved entity adapter to entities package.