Working with a submodule for tOpt so that it can be used in other situations.