Move to curl to request and smaller changes

Conversions now take account of 4/5 grade
db grade now converted to VCHAR
migrations file updated accordingly