Initial code push

This is a mess right now - need to do a lot of cleanup but starting with
the worst - the Fortran based library code adapted from WSJT