API: Move API registering to its own module
API: Disable API by default