Rewritten Readme and separated bmp_writer.