Fix most non-total pattern match warnings
Kill more warnings
Decouple Object from parser