Fix typos
Add Factory Pattern Notes