splited mysql to separate file and added redis file