Hook VariablesView events
Move console related files into console subdir
Fix module dependencies