Update loader class constructor
Add xml loading models functionality