working ai
update README
fix bugs