Added new Error Module, and fixed smalls scaffold bugs