Updated functionality to load posts. Currently doesn't change the DOM, but gets the necessary date. Also seperated out logic a tad