Base classes Engine, Mood

Signed-off-by: Matthew <mawebb@math.byu.edu>