reference delete remove rename and free
foreach and getter functions
added types conversion and some ref functions