Improve demo application
Enable to change API endpoint