main: More work towards using the api properly
posts: Adding an index of posts