Rewrote asset manager to add asset dependencies