Add preliminary mode string handling. Parsing later(tomorrow).