first draft of library view controller