Fixed Errors and Imported Lib

^