Added prototype pattern demo class.