Grapple v2 WIP #2

Also added AI stuff