Added events api demo
Modified events api config
Added demo page for events api