added Layer and AIChar components