Renames cmds and params to be more logical

+ Some minor fixes
Implements all API specified functionality

Minor API doc fix