Fixed file uploads and cleaned up route urls