Adding forward mode

Added forward mode with basic transition functionality.