Added icons, package nodes and assetService.js

- Moved code around to make it modular
- Expanded the asset library template to include icons and package nodes
- Added assetService.js to simulate AJAX calls