Refactor random computer out of controller