tasks refactoring - new localdb table