Added view for the list of posts, moved templates and script directories to the main directory