create APIController set_* aliases in a class context

fixes #26

The aliases existed as instance methods only. Now everything will live
in a class context.