Php class that helps to build kindle periodicals