Adding database package and classes