add PowerStatParser and Testing script
abstract base class
refactor to use class abstraction