Added loading image

Added a loading gif while the server is processing the request
Changed the folder structure