Add posts file

Add file named posts. Keeps track of post ids. This is used to make sure
the same post is not done more than once. Fix #11.