[Camera] add db table and DBapi (gallery, category)