Fixed things

Fixed a whole lot of things, and added a lot of first response code.