boilerplate for main plytos dom object