Write clearOldPosts function, make backend a module
Make clock call proper functions from backend