add requirement.txt
fix database setting