* added Activerecord and add model_conf direction