Added comments and copyright info.
Added same files that applyaf pymodule has.