close #7 add base dsl class for create navigation bar