First shot at getting submission to work

All of the tests pass but there is a problem
posting to a real server. Working on it now.