Added main bulk of plugin and demo page