new command

This PR also incorporates a massive refactor to pretty much everything, although it started out as just an implementation of the new commands. But the good news is that now everything works better and loads faster.