working methods for DDl(except  capped collections)
refactored namespace