Graph options n host

Changed the main layout object to 'graph_options', which 'layout' is still a param.

Changed host to be a var at the beginning of the module.

@bpostlethwaite