updated license
support backwards compat with old data dumps
remove unused code
add support for post links