Top Level Doman and Second Level Domain added

Along with some unit test, but the coverage is a little bit weak at the
moment.