APIEngine and XMPPHandler fixed thanks to the shell.
Interactions with db is ready