Add app assign resource #4
Add assign method to TraceView class #4
Add test case for app assignment #4