Added Posts factory to retrive WP posts