add dispatch model
update gitignore to ignore database.yml