Initial commit of bot core impl