factory: DB up; add jsons for factory

Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>