setting up structure of library, starting on dnd functionality