added database creation to rake tasks