Starter motor and alternator conversion