James Aytoun — (1797-1881), Advocate and manufacture