Refactor directory structure. Add test to ensure a post is read