added comments for methods; fix save method with rescue incase @lib_file is not a path/string