added framework for arrays
refacored the dyn_obj module into multiple files dedeicated to the specific type