initial script

basic setup for reading metadata from a topnode (read). further advancement is needed