Created base implementation for a state machine
Added an internal state builder interface
Added default for onEntry and onExit builder methods