Implemented client spawning

Needs work though