added player creation logic

Added player creation logic for 07 api and cleaned some other things up.