Added some ML Code.

Options writer and basic search.