Moved Entity to its own package so it can be reused by both domain
package and users package.