Add Debug file TODO: change SSM and remove useless functions
Debug file cpp and hpp okey