break up router into smaller files, switch to auto-incrementing IDs for all posts, add json and scrap random page in favor of page for public APIs