add AutoPtr for utilities
fixed bug of AutoPtr
add AutoArray for utilities
improved utility header