Added ai stuff to species database and creation of database