fix astyled code
add doxy comments