Merge pull request #1 from d0u0d0e/master

minimal ai and generic build function
Changed name of main file
Merge remote-tracking branch 'upstream/master'