initial version

still lots to clean