Codebase Documentation Started

1. Added full docstrings for mob factory.
2. Logically grouped main code
3. Began adding docstrings to all functions and objects.