Added Factories to Ctrl.js for Players and tables