library refactoring
library refactoring,
group operation
fixed #159
classes added
minor update