changed all NSLog to DLog
move all macros into prefix header