rename src to lib
copy in prototype code from telembed
moving libtom into unix platform