Revisioned, Fixed and Cleaned SDK files, updated code in order to use the new DebugAPI