create root as a class-based view
Merge pull request #188 from yedpodtrzitko/master

create root as a class-based view