Refactoring: more classes separated from 'ais' to their own files (cpp, h).