attempting to add ai state manager

Signed-off-by: sabot <sabot@inuits.eu>