Added a new controller and file uploading