Added state machine package. Worked on a generic RPC service base class.