Update build-model task. Generate classess of Peer and Query in the each subdirectories.