Added mechanism for initializing logging
Added package and publish tasks
Changed name of typed DomainEntity to avoid naming conflicts