create spec for new layout class #171
create new layout class to render layout only #171
remove methods for rendering layout to new class and refactor #171
require new layout class #171