Moving layout structure into granogen.pl
Tmp file cleanup