Adding Hadoop OutputFormat, RecordWriter to handle database connection, commits etc