Initial implementation of Entity classes.