moving mantle code into correct directory. documenting options api