Reorganizes form_post into separate file.