added rake tasks for database management