refactoring database editor project