update isCrossedOut functionality, add Common php class for helper methods