PHP Class used to limit actions per given time