Move cpp module to modules dir, define an api between a module and the bot