Changed grade to an integer

Wrote a migration and altered the factory.