Massive improvement

Huge construction - changed to using strings, added getNextResult and
getNextRow. Nearly usable.