Changed C++ classes to C structs in AMSimulationDataFormats
Updated codes following changes in AMSimulationDataFormats

- Changed duplicate pattern removal in PatternGenerator
- Added minFrequency option in PatternGenerator
- Some code cleaning in various places
Merge pull request #11 from jiafulow/prepare-v016

Changed C++ classes to C structs for less memory footprint