Littre refatoring in Crud initConfig