Added addAssets method to Core
Updated example code