Moved a few monster interfaces to API package.

This effectively splits the codebase. Now it should be safe to move files
over so.
Signed-off-by: Chris Sanders <zidane@outlook.com>