added gitignore and made database package functional