Start TestDefectPanel

-Some cleanup refactoring with name conventions and access modifiers as
well