Fix all bug to have a useable AI
Add build files