Modified templates to take options as a parameter.  One result is that output is placed in rails directory.