simple console mangment system for a library