Reorganized

I had that all backwards - that’s what I get for being tired while
working. Right data, wrong order
writing library next
create library and get things working

earth not a global variable —> but I have to go to work