Writable and InputFormat main method.