Updated player and created factory