Almost finished revamping.
Merge branch 'framework' of https://github.com/craig8196/ai into framework