refactor ViewController to use bibliotecaclient