Minor refactoring, moved Release and ReleaseRepository to Entity namespace