added database.yml.example
fix validation for address