ObjectGroup added and code optimized
Unnecessary libraries are deleted!