restructured and using gitignore to hide db credentials