some bare functionality. now loads posts from postsDir