Add the AUTHORS file.
Add LICENSE and copyright headers to the source files.
Add README.
Fix compilation errors.
s/dynamic_cast/static_cast/g