refactor front-end , place resources in resource folder and rename files