Add grade adapter for view. Closes #35