add readme and tests