Refactored and implemented debug library
0.2.33