initial: structure layout and some copypasta