Added a beginning of implementation to posts-list component type. A lot more logic should be added to handle every possible cases