[DEV] start dev of smart pointer implementation