Got basic pdf renderer working