Removed unnessisary function call
Updated to point to printf version of errorlib
Added commands from commandLib