added simple mode, starting AI implementation.