initial setup for library