Refactored SpawnMananger code

- Removed all of the extra path functions
- All paths functions are moved to one single path function
- A number of params can be passed in now, for full control