Don't use unsafe head
Fix 'next' selector
More descriptive variable naming
Add serialization
Remove unused code
Add type signature
Fix next page selector
Add comment hash function
Persist comments in postgreSQL