new package util with encoding and pdf-making classes