Fixed deletion of posts.
Added composer file.