starting to create db
created tables if not exist; find first folder to load to table