Refactoring Improvements.

Segregated the Plasma engine to an Interface.