adding prototyping to Library class

also added mnemonic attr to Instr class