added database.py, retro2.py and .gitignore