listener

Add support for listener in helper class to know when the data is moved
and when the database is opened