Initial refactoring
Initial refactoring

- Separated most closures into class methods
- Reformatted for readability
- Added docblocks

simon-barton/EdpSuperluminal,lsklyut/EdpSuperluminal,EvanDotPro/EdpSuperluminal