removed unused libraries.
merged sources of different libraries into the main one.