add character bots and race table, implement some api functions