Added the DB abstraction.
Added tag property.