Added a getall function and implemented the getlib function
Changed the script so it uses the the libmng.py functionality