Moving configer to ActiveRecords