Add base files and tests (with copyright notices)