adds database.yml as ignored file
adds pagination