Started building up templates and started functions for generating javascript fill in form.