Removed the input and output functions from the view, they are now read from the default files. Did some cleaning on the API to create an object before saving to the DB