added submit function to app-form script
added comments to visually split form components