added documentaion in common.h for main structs used, removed unused variables from structs.