fix setup syntax; add docs
beginnings of test suite; switch license to NHPL