Fixed compile errors. Updated README.