Added dynamic instantiation of page objects