Added aiscore

Added aiscore and changed aiapi a lil