updated the request handling
moved files to root folder