add DatabaseException + VideoDB major refactoring