Uninitialized ApplicationInstance issue fixed
Keep resource reference in CapabilityInstance
Merge pull request #32 from shummi/fix/initialization_issue

Fix/initialization issue