Fixed some errors that uses Deferred before it is required
Added a demo to illustrate how configurable model loading works