Started refactoring into command patterns
Improved treeview
Outline view now links to source code
Cleanup some ununsed code