implement model_dir(), glob(), all() for models
rewrite save(), and path()