add OCLogTemplate
remove unused macro
replace NSLog in library with OCLogTemplate
add 'Typhoon' class prefix
remove some duplication