improve deallocate function
classes scope
xfree() replace free()
version 0.2.1