add db variable to template
update readme