Moved grade recognition part into converter class so it's easier to have it work with other pages as well