Initial setup of library