cleanup

Dictionary is removed, such function should be implemented in the AI
module