Initial checkin of domain and some tests