Added account entity with some initial functions.