Create Library class + tests