how to create python library management system