moved database related scripts to main/resources so they can be included in the package.