db init
rest with db