Moving pdf viewer to lib