Fix cachine. Rip out some Freebas-specific stuff. Comment areas needing more work