Added PerfMeter, refactored dir structure.