A simple library management system with a terminal interface