Added a map writer.
Added support for reading a SQL ResultSet, and writing to a SQL table.