initial documentation draft[C

adding basic documentation