grid api

can we break this into a separate module and just import it? I think we should definitely do this for any class that *only* contains class methods in plotly.py.