SQL running outside of database folder

all SQL methods now can run outside of the folder by importing methods
while database file stays inside of database folder