rearrange the models definition and add the ModelHandler class
remove database file and add ignore filter