use VirtualDirectory for code simplification
proposed style updates

To conform with Dart CC
Merge pull request #1 from vicb/updates

Updates