setup databases on init