turned pdf conveter into reusable class