appcontroller and admincontroller builder classes