Code formatting done
Code base simplified
Implement parts of Body, Phase, Interaction