diff --git a/.DS_Store b/.DS_Store
index e6f5e7034d6775317445e189de9a5c05cd29a9ba..9a631267b714cb8362848c3bbb071c3b0d55dd97 100644
Binary files a/.DS_Store and b/.DS_Store differ
diff --git a/__pycache__/app.cpython-39.pyc b/__pycache__/app.cpython-39.pyc
new file mode 100644
index 0000000000000000000000000000000000000000..d6ad292d9dd8d7230bdbb3aa70f814093525c9d3
Binary files /dev/null and b/__pycache__/app.cpython-39.pyc differ
diff --git a/auto_augmentation/templates/like_button.js b/auto_augmentation/templates/like_button.js
deleted file mode 100644
index 2e45150f6e4c1c2752910065dd4cc9c1e29fc9ca..0000000000000000000000000000000000000000
--- a/auto_augmentation/templates/like_button.js
+++ /dev/null
@@ -1,29 +0,0 @@
-'use strict';
- import React from 'react';
- import ReactDOM from 'react-dom';
-
-const e = React.createElement;
-console.log('hello')
-class LikeButton extends React.Component {
-  constructor(props) {
-    super(props);
-    this.state = { liked: false };
-  }
-
-  render() {
-    if (this.state.liked) {
-      return <p>'You liked this.'</p>;
-    }
-
-    return e(
-      'button',
-      { onClick: () => this.setState({ liked: true }) },
-      'Like'
-    );
-  }
-}
-
-
-const domContainer = document.querySelector('#like_button_container');
-const root = ReactDOM.createRoot(domContainer);
-root.render(e(LikeButton));
\ No newline at end of file
diff --git a/.flaskenv b/backend/.flaskenv
similarity index 100%
rename from .flaskenv
rename to backend/.flaskenv
diff --git a/.gitignore b/backend/.gitignore
similarity index 100%
rename from .gitignore
rename to backend/.gitignore
diff --git a/.gitlab-ci.yml b/backend/.gitlab-ci.yml
similarity index 100%
rename from .gitlab-ci.yml
rename to backend/.gitlab-ci.yml
diff --git a/.readthedocs.yaml b/backend/.readthedocs.yaml
similarity index 100%
rename from .readthedocs.yaml
rename to backend/.readthedocs.yaml
diff --git a/Dockerfile b/backend/Dockerfile
similarity index 100%
rename from Dockerfile
rename to backend/Dockerfile
diff --git a/MetaAugment/.DS_Store b/backend/MetaAugment/.DS_Store
similarity index 100%
rename from MetaAugment/.DS_Store
rename to backend/MetaAugment/.DS_Store
diff --git a/MetaAugment/Baseline_JC.ipynb b/backend/MetaAugment/Baseline_JC.ipynb
similarity index 100%
rename from MetaAugment/Baseline_JC.ipynb
rename to backend/MetaAugment/Baseline_JC.ipynb
diff --git a/MetaAugment/CP2_Max.py b/backend/MetaAugment/CP2_Max.py
similarity index 100%
rename from MetaAugment/CP2_Max.py
rename to backend/MetaAugment/CP2_Max.py
diff --git a/MetaAugment/README.md b/backend/MetaAugment/README.md
similarity index 100%
rename from MetaAugment/README.md
rename to backend/MetaAugment/README.md
diff --git a/MetaAugment/UCB1_JC.ipynb b/backend/MetaAugment/UCB1_JC.ipynb
similarity index 100%
rename from MetaAugment/UCB1_JC.ipynb
rename to backend/MetaAugment/UCB1_JC.ipynb
diff --git a/MetaAugment/UCB1_JC_py.py b/backend/MetaAugment/UCB1_JC_py.py
similarity index 100%
rename from MetaAugment/UCB1_JC_py.py
rename to backend/MetaAugment/UCB1_JC_py.py
diff --git a/MetaAugment/autoaugment_learners/README.md b/backend/MetaAugment/autoaugment_learners/README.md
similarity index 100%
rename from MetaAugment/autoaugment_learners/README.md
rename to backend/MetaAugment/autoaugment_learners/README.md
diff --git a/MetaAugment/autoaugment_learners/__init__.py b/backend/MetaAugment/autoaugment_learners/__init__.py
similarity index 100%
rename from MetaAugment/autoaugment_learners/__init__.py
rename to backend/MetaAugment/autoaugment_learners/__init__.py
diff --git a/MetaAugment/autoaugment_learners/aa_learner.py b/backend/MetaAugment/autoaugment_learners/aa_learner.py
similarity index 100%
rename from MetaAugment/autoaugment_learners/aa_learner.py
rename to backend/MetaAugment/autoaugment_learners/aa_learner.py
diff --git a/MetaAugment/autoaugment_learners/ac_learner.py b/backend/MetaAugment/autoaugment_learners/ac_learner.py
similarity index 100%
rename from MetaAugment/autoaugment_learners/ac_learner.py
rename to backend/MetaAugment/autoaugment_learners/ac_learner.py
diff --git a/MetaAugment/autoaugment_learners/actor_critic.ipynb b/backend/MetaAugment/autoaugment_learners/actor_critic.ipynb
similarity index 100%
rename from MetaAugment/autoaugment_learners/actor_critic.ipynb
rename to backend/MetaAugment/autoaugment_learners/actor_critic.ipynb
diff --git a/MetaAugment/autoaugment_learners/autoaugment.py b/backend/MetaAugment/autoaugment_learners/autoaugment.py
similarity index 100%
rename from MetaAugment/autoaugment_learners/autoaugment.py
rename to backend/MetaAugment/autoaugment_learners/autoaugment.py
diff --git a/MetaAugment/autoaugment_learners/baseline.py b/backend/MetaAugment/autoaugment_learners/baseline.py
similarity index 100%
rename from MetaAugment/autoaugment_learners/baseline.py
rename to backend/MetaAugment/autoaugment_learners/baseline.py
diff --git a/MetaAugment/autoaugment_learners/gru_learner.py b/backend/MetaAugment/autoaugment_learners/gru_learner.py
similarity index 100%
rename from MetaAugment/autoaugment_learners/gru_learner.py
rename to backend/MetaAugment/autoaugment_learners/gru_learner.py
diff --git a/MetaAugment/autoaugment_learners/randomsearch_learner.py b/backend/MetaAugment/autoaugment_learners/randomsearch_learner.py
similarity index 100%
rename from MetaAugment/autoaugment_learners/randomsearch_learner.py
rename to backend/MetaAugment/autoaugment_learners/randomsearch_learner.py
diff --git a/MetaAugment/child_networks/README.md b/backend/MetaAugment/child_networks/README.md
similarity index 100%
rename from MetaAugment/child_networks/README.md
rename to backend/MetaAugment/child_networks/README.md
diff --git a/MetaAugment/child_networks/__init__.py b/backend/MetaAugment/child_networks/__init__.py
similarity index 100%
rename from MetaAugment/child_networks/__init__.py
rename to backend/MetaAugment/child_networks/__init__.py
diff --git a/MetaAugment/child_networks/bad_lenet.py b/backend/MetaAugment/child_networks/bad_lenet.py
similarity index 100%
rename from MetaAugment/child_networks/bad_lenet.py
rename to backend/MetaAugment/child_networks/bad_lenet.py
diff --git a/MetaAugment/child_networks/lenet.py b/backend/MetaAugment/child_networks/lenet.py
similarity index 100%
rename from MetaAugment/child_networks/lenet.py
rename to backend/MetaAugment/child_networks/lenet.py
diff --git a/MetaAugment/controller_networks/rnn_controller.py b/backend/MetaAugment/controller_networks/rnn_controller.py
similarity index 100%
rename from MetaAugment/controller_networks/rnn_controller.py
rename to backend/MetaAugment/controller_networks/rnn_controller.py
diff --git a/MetaAugment/main.py b/backend/MetaAugment/main.py
similarity index 100%
rename from MetaAugment/main.py
rename to backend/MetaAugment/main.py
diff --git a/MetaAugment/saved_models/mnist_0.9823.pkl b/backend/MetaAugment/saved_models/mnist_0.9823.pkl
similarity index 100%
rename from MetaAugment/saved_models/mnist_0.9823.pkl
rename to backend/MetaAugment/saved_models/mnist_0.9823.pkl
diff --git a/Procfile b/backend/Procfile
similarity index 100%
rename from Procfile
rename to backend/Procfile
diff --git a/README copy.md b/backend/README copy.md
similarity index 100%
rename from README copy.md
rename to backend/README copy.md
diff --git a/README.md b/backend/README.md
similarity index 100%
rename from README.md
rename to backend/README.md
diff --git a/app.py b/backend/app.py
similarity index 100%
rename from app.py
rename to backend/app.py
diff --git a/auto_augmentation/.DS_Store b/backend/auto_augmentation/.DS_Store
similarity index 100%
rename from auto_augmentation/.DS_Store
rename to backend/auto_augmentation/.DS_Store
diff --git a/auto_augmentation/__init__.py b/backend/auto_augmentation/__init__.py
similarity index 100%
rename from auto_augmentation/__init__.py
rename to backend/auto_augmentation/__init__.py
diff --git a/auto_augmentation/download_file.py b/backend/auto_augmentation/download_file.py
similarity index 100%
rename from auto_augmentation/download_file.py
rename to backend/auto_augmentation/download_file.py
diff --git a/auto_augmentation/home.py b/backend/auto_augmentation/home.py
similarity index 100%
rename from auto_augmentation/home.py
rename to backend/auto_augmentation/home.py
diff --git a/auto_augmentation/progress.py b/backend/auto_augmentation/progress.py
similarity index 97%
rename from auto_augmentation/progress.py
rename to backend/auto_augmentation/progress.py
index a641964994eee434f497fcb131e84922cca9aad5..bef9dc78ccca66e09177fab8ad744bfd81833a8f 100644
--- a/auto_augmentation/progress.py
+++ b/backend/auto_augmentation/progress.py
@@ -66,13 +66,11 @@ def response():
         # generate random policies at start
         policies = UCB1_JC.generate_policies(num_policies, num_sub_policies)
         q_values, best_q_values = UCB1_JC.run_UCB1(policies, batch_size, learning_rate, ds, toy_size, max_epochs, early_stop_num, iterations, IsLeNet, ds_name)
-        print("q_values: ", q_values)
+        print("q_values testing: ", q_values)
 
         plt.figure()
         plt.plot(q_values)
-        plt.savefig('/static/image/test.png')
 
-        # plt.plot(best_q_values)
 
         best_q_values = np.array(best_q_values)
         # save('best_q_values_{}_{}percent_{}.npy'.format(IsLeNet, int(toy_size*100), ds), best_q_values)
diff --git a/auto_augmentation/result.py b/backend/auto_augmentation/result.py
similarity index 100%
rename from auto_augmentation/result.py
rename to backend/auto_augmentation/result.py
diff --git a/auto_augmentation/static/.DS_Store b/backend/auto_augmentation/static/.DS_Store
similarity index 100%
rename from auto_augmentation/static/.DS_Store
rename to backend/auto_augmentation/static/.DS_Store
diff --git a/auto_augmentation/static/image/data_augment_cat.jpeg b/backend/auto_augmentation/static/image/data_augment_cat.jpeg
similarity index 100%
rename from auto_augmentation/static/image/data_augment_cat.jpeg
rename to backend/auto_augmentation/static/image/data_augment_cat.jpeg
diff --git a/auto_augmentation/static/image/training_plot.png b/backend/auto_augmentation/static/image/training_plot.png
similarity index 100%
rename from auto_augmentation/static/image/training_plot.png
rename to backend/auto_augmentation/static/image/training_plot.png
diff --git a/auto_augmentation/templates/basic.html b/backend/auto_augmentation/templates/basic.html
similarity index 100%
rename from auto_augmentation/templates/basic.html
rename to backend/auto_augmentation/templates/basic.html
diff --git a/auto_augmentation/templates/home.html b/backend/auto_augmentation/templates/home.html
similarity index 84%
rename from auto_augmentation/templates/home.html
rename to backend/auto_augmentation/templates/home.html
index 209595f33f0e88484e263d6a316b6f88e94cde6d..2e3000dbec4fd82e6f2ebfb8c2e70eeab7429041 100644
--- a/auto_augmentation/templates/home.html
+++ b/backend/auto_augmentation/templates/home.html
@@ -139,48 +139,45 @@
   <script type = 'module'> 
   // 'use strict';
     import React from 'react';
-    import ReactDOM from 'react-dom';
-
+    import ReactDOM from "react-dom/client";
   </script>
    
 
   <script>
    const e = React.createElement;
-  //  var dirServer = process.env.PWD;
-   var path = document.location.pathname;
-   var directory = path.substring(path.indexOf('/'), path.lastIndexOf('/'));
 
-   console.log('here')
-  //  console.log(dirServer);
-   console.log('here2')
+  var path = document.location.pathname;
+  var directory = path.substring(path.indexOf('/'), path.lastIndexOf('/'));
+  // var loc = window.location.pathname;
 
 
 
-   class LikeButton extends React.Component {
-     constructor(props) {
-       super(props);
-       this.state = { liked: false };
-     }
-   
-     render() {
-       if (this.state.liked) {
-         return 'You liked this.';
-       }
-   
-       return e(
-         'button',
-         { onClick: () => this.setState({ liked: true }) },
-         'Like'
-       );
-     }
-   }
-   
-  
-   const domContainer = document.querySelector('#like_button_container');
-   const root = ReactDOM.createRoot(domContainer);
-   root.render(e(LikeButton));
-   </script>
-  
+  class LikeButton extends React.Component {
+    constructor(props) {
+      super(props);
+      this.state = { liked: false };
+    }
+
+    render() {
+      if (this.state.liked) {
+        return 'You liked this.';
+      }
+
+      return e(
+        'button',
+        { onClick: () => this.setState({ liked: true }) },
+        'Like'
+      );
+    }
+  }
+
+
+  const domContainer = document.querySelector('#like_button_container');
+  const root = ReactDOM.createRoot(domContainer);
+  root.render(e(LikeButton));
+
+  </script>
+    
 
 
 
diff --git a/backend/auto_augmentation/templates/like_button.js b/backend/auto_augmentation/templates/like_button.js
new file mode 100644
index 0000000000000000000000000000000000000000..14eadff6e584544147a1e45237f0f4d8907527e8
--- /dev/null
+++ b/backend/auto_augmentation/templates/like_button.js
@@ -0,0 +1,30 @@
+'use strict';
+import React from '../../../react_app_metarl/node_modules/@types/react';
+import ReactDOM from "../../../react_app_metarl/node_modules/@types/react-dom/client";
+
+ const e = React.createElement;
+
+
+ class LikeButton extends React.Component {
+   constructor(props) {
+     super(props);
+     this.state = { liked: false };
+   }
+ 
+   render() {
+     if (this.state.liked) {
+       return 'You liked this.';
+     }
+ 
+     return e(
+       'button',
+       { onClick: () => this.setState({ liked: true }) },
+       'Like'
+     );
+   }
+ }
+ 
+
+ const domContainer = document.querySelector('#like_button_container');
+ const root = ReactDOM.createRoot(domContainer);
+ root.render(e(LikeButton));
\ No newline at end of file
diff --git a/auto_augmentation/templates/progress.html b/backend/auto_augmentation/templates/progress.html
similarity index 100%
rename from auto_augmentation/templates/progress.html
rename to backend/auto_augmentation/templates/progress.html
diff --git a/auto_augmentation/templates/result.html b/backend/auto_augmentation/templates/result.html
similarity index 100%
rename from auto_augmentation/templates/result.html
rename to backend/auto_augmentation/templates/result.html
diff --git a/conftest.py b/backend/conftest.py
similarity index 100%
rename from conftest.py
rename to backend/conftest.py
diff --git a/docs/Makefile b/backend/docs/Makefile
similarity index 100%
rename from docs/Makefile
rename to backend/docs/Makefile
diff --git a/docs/make.bat b/backend/docs/make.bat
similarity index 100%
rename from docs/make.bat
rename to backend/docs/make.bat
diff --git a/docs/requirements.txt b/backend/docs/requirements.txt
similarity index 100%
rename from docs/requirements.txt
rename to backend/docs/requirements.txt
diff --git a/docs/source/MetaAugment_library/autoaugment_learners/aa_learners.rst b/backend/docs/source/MetaAugment_library/autoaugment_learners/aa_learners.rst
similarity index 100%
rename from docs/source/MetaAugment_library/autoaugment_learners/aa_learners.rst
rename to backend/docs/source/MetaAugment_library/autoaugment_learners/aa_learners.rst
diff --git a/docs/source/MetaAugment_library/autoaugment_learners/generated/MetaAugment.autoaugment_learners.aa_learner.rst b/backend/docs/source/MetaAugment_library/autoaugment_learners/generated/MetaAugment.autoaugment_learners.aa_learner.rst
similarity index 100%
rename from docs/source/MetaAugment_library/autoaugment_learners/generated/MetaAugment.autoaugment_learners.aa_learner.rst
rename to backend/docs/source/MetaAugment_library/autoaugment_learners/generated/MetaAugment.autoaugment_learners.aa_learner.rst
diff --git a/docs/source/MetaAugment_library/autoaugment_learners/generated/MetaAugment.autoaugment_learners.gru_learner.rst b/backend/docs/source/MetaAugment_library/autoaugment_learners/generated/MetaAugment.autoaugment_learners.gru_learner.rst
similarity index 100%
rename from docs/source/MetaAugment_library/autoaugment_learners/generated/MetaAugment.autoaugment_learners.gru_learner.rst
rename to backend/docs/source/MetaAugment_library/autoaugment_learners/generated/MetaAugment.autoaugment_learners.gru_learner.rst
diff --git a/docs/source/MetaAugment_library/autoaugment_learners/generated/MetaAugment.autoaugment_learners.randomsearch_learner.rst b/backend/docs/source/MetaAugment_library/autoaugment_learners/generated/MetaAugment.autoaugment_learners.randomsearch_learner.rst
similarity index 100%
rename from docs/source/MetaAugment_library/autoaugment_learners/generated/MetaAugment.autoaugment_learners.randomsearch_learner.rst
rename to backend/docs/source/MetaAugment_library/autoaugment_learners/generated/MetaAugment.autoaugment_learners.randomsearch_learner.rst
diff --git a/docs/source/_static/logo.png b/backend/docs/source/_static/logo.png
similarity index 100%
rename from docs/source/_static/logo.png
rename to backend/docs/source/_static/logo.png
diff --git a/docs/source/_static/logohd.png b/backend/docs/source/_static/logohd.png
similarity index 100%
rename from docs/source/_static/logohd.png
rename to backend/docs/source/_static/logohd.png
diff --git a/docs/source/conf.py b/backend/docs/source/conf.py
similarity index 100%
rename from docs/source/conf.py
rename to backend/docs/source/conf.py
diff --git a/docs/source/index.rst b/backend/docs/source/index.rst
similarity index 100%
rename from docs/source/index.rst
rename to backend/docs/source/index.rst
diff --git a/docs/source/usage/autoaugment_helperclass.rst b/backend/docs/source/usage/autoaugment_helperclass.rst
similarity index 100%
rename from docs/source/usage/autoaugment_helperclass.rst
rename to backend/docs/source/usage/autoaugment_helperclass.rst
diff --git a/docs/source/usage/tutorial_for_team.rst b/backend/docs/source/usage/tutorial_for_team.rst
similarity index 100%
rename from docs/source/usage/tutorial_for_team.rst
rename to backend/docs/source/usage/tutorial_for_team.rst
diff --git a/heroku.yml b/backend/heroku.yml
similarity index 100%
rename from heroku.yml
rename to backend/heroku.yml
diff --git a/progress.html b/backend/progress.html
similarity index 100%
rename from progress.html
rename to backend/progress.html
diff --git a/requirements.txt b/backend/requirements.txt
similarity index 100%
rename from requirements.txt
rename to backend/requirements.txt
diff --git a/setup.py b/backend/setup.py
similarity index 100%
rename from setup.py
rename to backend/setup.py
diff --git a/stdout.txt b/backend/stdout.txt
similarity index 100%
rename from stdout.txt
rename to backend/stdout.txt
diff --git a/tutorials/how_use_aalearner.py b/backend/tutorials/how_use_aalearner.py
similarity index 100%
rename from tutorials/how_use_aalearner.py
rename to backend/tutorials/how_use_aalearner.py
diff --git a/react_app_metarl/.gitignore b/react_app_metarl/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..4d29575de80483b005c29bfcac5061cd2f45313e
--- /dev/null
+++ b/react_app_metarl/.gitignore
@@ -0,0 +1,23 @@
+# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
+
+# dependencies
+/node_modules
+/.pnp
+.pnp.js
+
+# testing
+/coverage
+
+# production
+/build
+
+# misc
+.DS_Store
+.env.local
+.env.development.local
+.env.test.local
+.env.production.local
+
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
diff --git a/react_app_metarl/README.md b/react_app_metarl/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..58beeaccd87e230076cab531b8f418f40b6d1aeb
--- /dev/null
+++ b/react_app_metarl/README.md
@@ -0,0 +1,70 @@
+# Getting Started with Create React App
+
+This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
+
+## Available Scripts
+
+In the project directory, you can run:
+
+### `npm start`
+
+Runs the app in the development mode.\
+Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
+
+The page will reload when you make changes.\
+You may also see any lint errors in the console.
+
+### `npm test`
+
+Launches the test runner in the interactive watch mode.\
+See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
+
+### `npm run build`
+
+Builds the app for production to the `build` folder.\
+It correctly bundles React in production mode and optimizes the build for the best performance.
+
+The build is minified and the filenames include the hashes.\
+Your app is ready to be deployed!
+
+See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
+
+### `npm run eject`
+
+**Note: this is a one-way operation. Once you `eject`, you can't go back!**
+
+If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
+
+Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
+
+You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
+
+## Learn More
+
+You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
+
+To learn React, check out the [React documentation](https://reactjs.org/).
+
+### Code Splitting
+
+This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
+
+### Analyzing the Bundle Size
+
+This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
+
+### Making a Progressive Web App
+
+This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
+
+### Advanced Configuration
+
+This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
+
+### Deployment
+
+This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
+
+### `npm run build` fails to minify
+
+This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
diff --git a/react_app_metarl/package.json b/react_app_metarl/package.json
new file mode 100644
index 0000000000000000000000000000000000000000..5344c59cea71aebb3cc2bd5cb02b0a930d019cbf
--- /dev/null
+++ b/react_app_metarl/package.json
@@ -0,0 +1,38 @@
+{
+  "name": "react_app_metarl",
+  "version": "0.1.0",
+  "private": true,
+  "dependencies": {
+    "@testing-library/jest-dom": "^5.16.4",
+    "@testing-library/react": "^13.1.1",
+    "@testing-library/user-event": "^13.5.0",
+    "react": "^18.0.0",
+    "react-dom": "^18.0.0",
+    "react-scripts": "5.0.1",
+    "web-vitals": "^2.1.4"
+  },
+  "scripts": {
+    "start": "react-scripts start",
+    "build": "react-scripts build",
+    "test": "react-scripts test",
+    "eject": "react-scripts eject"
+  },
+  "eslintConfig": {
+    "extends": [
+      "react-app",
+      "react-app/jest"
+    ]
+  },
+  "browserslist": {
+    "production": [
+      ">0.2%",
+      "not dead",
+      "not op_mini all"
+    ],
+    "development": [
+      "last 1 chrome version",
+      "last 1 firefox version",
+      "last 1 safari version"
+    ]
+  }
+}
diff --git a/react_app_metarl/public/basic.html b/react_app_metarl/public/basic.html
new file mode 100644
index 0000000000000000000000000000000000000000..9c47ba6a00c5cf9920c4f3f96f8810b2bd530018
--- /dev/null
+++ b/react_app_metarl/public/basic.html
@@ -0,0 +1,25 @@
+<!doctype html>
+<html>
+  <style>
+    #myProgress {
+      width: 100%;
+      background-color: #ddd;
+    }
+    
+    #myBar {
+      width: 1%;
+      height: 30px;
+      background-color: #04AA6D;
+    }
+    </style>
+
+  <head>
+    {% block head %}
+    <title>{% block title %}{% endblock %} - Meta Reinforcement Learning for Data Augmentation</title>
+    {% endblock %}
+  </head>
+  <body>
+    {% block body %}{% endblock %}
+  </body>
+</html>
+
diff --git a/react_app_metarl/public/favicon.ico b/react_app_metarl/public/favicon.ico
new file mode 100644
index 0000000000000000000000000000000000000000..a11777cc471a4344702741ab1c8a588998b1311a
Binary files /dev/null and b/react_app_metarl/public/favicon.ico differ
diff --git a/react_app_metarl/public/home.html b/react_app_metarl/public/home.html
new file mode 100644
index 0000000000000000000000000000000000000000..2e3000dbec4fd82e6f2ebfb8c2e70eeab7429041
--- /dev/null
+++ b/react_app_metarl/public/home.html
@@ -0,0 +1,239 @@
+{% extends "basic.html" %}
+{% block title%}Home{% endblock %}
+{% block body %}
+<h1>Meta Reinforcement Learning for Data Augmentation</h1>
+
+<h3>Choose your dataset</h3>
+<form action="/user_input" method="POST" enctype="multipart/form-data">
+  <!-- upload dataset -->
+  <label for="dataset_upload">You can upload your dataset folder here:</label>
+  <input type="file" id='dataset_upload' name="dataset_upload" class="upload"><br><br>
+  
+  <!-- <label for="dataset_upload">Upload your train dataset folder here:</label> -->
+  <!-- <input type="file" id='dataset_upload' name="dataset_upload" webkitdirectory mozdirectory /><br> -->
+  <!-- <label for="dataset_upload">Upload your test dataset folder here:</label>
+  <input type="file" id='test_upload' name="test_upload" webkitdirectory mozdirectory /><br><br> -->
+
+  <!-- dataset radio button -->
+  Or you can select a dataset from our database: <br>
+  <input type="radio" id="dataset1"
+    name="dataset_selection" value="MNIST">
+  <label for="dataset1">MNIST dataset</label><br>
+
+  <input type="radio" id="dataset2"
+    name="dataset_selection" value="KMNIST">
+  <label for="dataset2">KMNIST dataset</label><br>
+
+  <input type="radio" id="dataset3"
+    name="dataset_selection" value="FashionMNIST">
+  <label for="dataset3">FashionMNIST dataset</label><br>
+
+  <input type="radio" id="dataset4"
+  name="dataset_selection" value="CIFAR10">
+  <label for="dataset4">CIFAR10 dataset</label><br>
+
+  <input type="radio" id="dataset5"
+  name="dataset_selection" value="CIFAR100">
+  <label for="dataset5">CIFAR100 dataset</label><br>
+
+  <input type="radio" id="dataset6"
+  name="dataset_selection" value="Other">
+  <label for="dataset6">Other dataset DIFFERENT</label><br><br> 
+
+<!-- --------------------------------------------------------------- -->
+
+
+  <h3>Choose the network the dataset is trained on</h3>
+  <!-- upload network -->
+  <label for="network_upload">Please upload your network here as a .pkl file:</label>
+  <input type="file" id='network_upload' name="network_upload" class="upload"><br><br>
+
+
+  <!-- network selection -->
+  Or you can select a dataset from our database: <br>
+  <input type="radio" id="network1"
+    name="network_selection" value="LeNet">
+  <label for="network1">LeNet</label><br>
+
+  <input type="radio" id="network2"
+  name="network_selection" value="EasyNet">
+  <label for="network2">EasyNet</label><br>
+
+  <input type="radio" id="network3"
+  name="network_selection" value="SimpleNet">
+  <label for="network3">SimpleNet</label><br>
+
+  <input type="radio" id="network4"
+  name="network_selection" value="Other">
+  <label for="network4">Other</label><br><br> 
+
+
+
+  <h3>Advanced Search</h3>
+  <!-- action(data augmentation) space -->
+  Which data augmentation method you would like exclude? <br>
+  <input type="checkbox" id="ShearX"
+    name="action_space" value="ShearX">
+  <label for="ShearX">ShearX</label>
+
+  <input type="checkbox" id="ShearY"
+    name="action_space" value="ShearY">
+  <label for="ShearY">ShearY</label>
+
+  <input type="checkbox" id="TranslateX"
+    name="action_space" value="TranslateX">
+  <label for="TranslateX">TranslateX</label>
+
+  <input type="checkbox" id="TranslateY"
+  name="action_space" value="TranslateY">
+  <label for="TranslateY">TranslateY</label>
+
+  <input type="checkbox" id="Rotate"
+    name="Rotate" value="Rotate">
+  <label for="Rotate">Rotate</label><br>
+
+  <input type="checkbox" id="Brightness"
+  name="action_space" value="Brightness">
+  <label for="Brightness">Brightness</label>
+
+  <input type="checkbox" id="Color"
+  name="action_space" value="Color">
+  <label for="Color">Color</label>
+
+  <input type="checkbox" id="Contrast"
+  name="action_space" value="Contrast">
+  <label for="Contrast">Contrast</label>
+
+  <input type="checkbox" id="Sharpness"
+  name="action_space" value="Sharpness">
+  <label for="Sharpness">Sharpness</label><br>
+
+  <input type="checkbox" id="Posterize"
+  name="action_space" value="Posterize">
+  <label for="Posterize">Posterize</label>
+
+  <input type="checkbox" id="Solarize"
+  name="action_space" value="Solarize">
+  <label for="Solarize">Solarize</label>
+
+  <input type="checkbox" id="AutoContrast"
+  name="action_space" value="AutoContrast">
+  <label for="AutoContrast">AutoContrast</label>
+
+  <input type="checkbox" id="Equalize"
+  name="action_space" value="Equalize">
+  <label for="Equalize">Equalize</label>
+
+  <input type="checkbox" id="Invert"
+  name="action_space" value="Invert">
+  <label for="Invert">Invert</label><br><br><br>
+
+
+  
+  <div id="like_button_container"></div>
+  <script src="https://unpkg.com/react@18/umd/react.development.js" crossorigin></script>
+
+  <script src="https://unpkg.com/react-dom@18/umd/react-dom.development.js" crossorigin></script>
+  <!-- <script src="metarl/auto_augmentation/templates/like_button.js"></script> -->
+
+  <script type = 'module'> 
+  // 'use strict';
+    import React from 'react';
+    import ReactDOM from "react-dom/client";
+  </script>
+   
+
+  <script>
+   const e = React.createElement;
+
+  var path = document.location.pathname;
+  var directory = path.substring(path.indexOf('/'), path.lastIndexOf('/'));
+  // var loc = window.location.pathname;
+
+
+
+  class LikeButton extends React.Component {
+    constructor(props) {
+      super(props);
+      this.state = { liked: false };
+    }
+
+    render() {
+      if (this.state.liked) {
+        return 'You liked this.';
+      }
+
+      return e(
+        'button',
+        { onClick: () => this.setState({ liked: true }) },
+        'Like'
+      );
+    }
+  }
+
+
+  const domContainer = document.querySelector('#like_button_container');
+  const root = ReactDOM.createRoot(domContainer);
+  root.render(e(LikeButton));
+
+  </script>
+    
+
+
+
+
+
+
+
+  <!-- 3
+  <div id="mydiv"></div>
+
+    <script type="text/babel" type="javascript">
+      import ReactDOM from 'react-dom';
+      function Hello() {
+        return <h1>Hello World!</h1>;
+      }
+
+      ReactDOM.render(<Hello />, document.getElementById('mydiv'))
+    </script>
+  3 -->
+
+
+  <!-- ----------------- -->
+
+
+  <!-- <script
+    src="https://unpkg.com/react@16/umd/react.production.min.js"
+    crossorigin
+    type="javascript"
+  ></script>
+  <script
+    src="https://unpkg.com/react-dom@16/umd/react-dom.production.min.js"
+    crossorigin
+  ></script>
+  <script src="https://unpkg.com/@babel/standalone/babel.min.js"></script>
+
+  <script type="text/babel" src="WelcomeBack.js"></script>
+  <script type="text/babel" src="CoolButton.js"></script>
+
+  <script type="text/babel">
+    ReactDOM.render(<WelcomeBack />, document.querySelector(".welcome-back"));
+  </script> -->
+
+
+
+
+
+
+
+
+
+
+
+  <input type="submit">
+
+
+</form>
+ 
+
+{% endblock %}
diff --git a/react_app_metarl/public/index.html b/react_app_metarl/public/index.html
new file mode 100644
index 0000000000000000000000000000000000000000..aa069f27cbd9d53394428171c3989fd03db73c76
--- /dev/null
+++ b/react_app_metarl/public/index.html
@@ -0,0 +1,43 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+    <meta charset="utf-8" />
+    <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
+    <meta name="viewport" content="width=device-width, initial-scale=1" />
+    <meta name="theme-color" content="#000000" />
+    <meta
+      name="description"
+      content="Web site created using create-react-app"
+    />
+    <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
+    <!--
+      manifest.json provides metadata used when your web app is installed on a
+      user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
+    -->
+    <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
+    <!--
+      Notice the use of %PUBLIC_URL% in the tags above.
+      It will be replaced with the URL of the `public` folder during the build.
+      Only files inside the `public` folder can be referenced from the HTML.
+
+      Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
+      work correctly both with client-side routing and a non-root public URL.
+      Learn how to configure a non-root public URL by running `npm run build`.
+    -->
+    <title>React App</title>
+  </head>
+  <body>
+    <noscript>You need to enable JavaScript to run this app.</noscript>
+    <div id="root"></div>
+    <!--
+      This HTML file is a template.
+      If you open it directly in the browser, you will see an empty page.
+
+      You can add webfonts, meta tags, or analytics to this file.
+      The build step will place the bundled scripts into the <body> tag.
+
+      To begin the development, run `npm start` or `yarn start`.
+      To create a production bundle, use `npm run build` or `yarn build`.
+    -->
+  </body>
+</html>
diff --git a/react_app_metarl/public/logo192.png b/react_app_metarl/public/logo192.png
new file mode 100644
index 0000000000000000000000000000000000000000..fc44b0a3796c0e0a64c3d858ca038bd4570465d9
Binary files /dev/null and b/react_app_metarl/public/logo192.png differ
diff --git a/react_app_metarl/public/logo512.png b/react_app_metarl/public/logo512.png
new file mode 100644
index 0000000000000000000000000000000000000000..a4e47a6545bc15971f8f63fba70e4013df88a664
Binary files /dev/null and b/react_app_metarl/public/logo512.png differ
diff --git a/react_app_metarl/public/manifest.json b/react_app_metarl/public/manifest.json
new file mode 100644
index 0000000000000000000000000000000000000000..080d6c77ac21bb2ef88a6992b2b73ad93daaca92
--- /dev/null
+++ b/react_app_metarl/public/manifest.json
@@ -0,0 +1,25 @@
+{
+  "short_name": "React App",
+  "name": "Create React App Sample",
+  "icons": [
+    {
+      "src": "favicon.ico",
+      "sizes": "64x64 32x32 24x24 16x16",
+      "type": "image/x-icon"
+    },
+    {
+      "src": "logo192.png",
+      "type": "image/png",
+      "sizes": "192x192"
+    },
+    {
+      "src": "logo512.png",
+      "type": "image/png",
+      "sizes": "512x512"
+    }
+  ],
+  "start_url": ".",
+  "display": "standalone",
+  "theme_color": "#000000",
+  "background_color": "#ffffff"
+}
diff --git a/react_app_metarl/public/progress.html b/react_app_metarl/public/progress.html
new file mode 100644
index 0000000000000000000000000000000000000000..7228b06b1c398e6d55b5472b47dd0db2d304bea8
--- /dev/null
+++ b/react_app_metarl/public/progress.html
@@ -0,0 +1,43 @@
+{% extends "basic.html" %}
+{% block title%}Progress{% endblock %}
+{% block body %}
+Training the model...
+
+<div>
+    <img src="{{url_for('static', filename='image/training_plot.png')}}" class="img-thumbnail" />
+
+  
+    <div id="myProgress">
+        <div id="myBar"></div>
+    </div>
+      
+    <br>
+    <button onclick="move()">Click Me</button> 
+    
+    <script>
+    var i = 0;
+    function move() {
+        if (i == 0) {
+            i = 1;
+            var elem = document.getElementById("myBar");
+            var width = 1;
+            var id = setInterval(frame, 10);
+            function frame() {
+                if (width >= 100) {
+                    clearInterval(id);
+                    i = 0;
+                } else {
+                    width++;
+                    elem.style.width = width + "%";
+                }
+            }
+        }
+    }
+    </script>
+
+    <form action="/show_result">
+        <input type="submit" value='Show Result'>
+    </form>
+</div>
+ 
+{% endblock %}
\ No newline at end of file
diff --git a/react_app_metarl/public/result.html b/react_app_metarl/public/result.html
new file mode 100644
index 0000000000000000000000000000000000000000..6e127fdb1ed52f2abefc166f23dc7b8d25062f48
--- /dev/null
+++ b/react_app_metarl/public/result.html
@@ -0,0 +1,18 @@
+{% extends "basic.html" %}
+{% block title %}Result{% endblock %}
+{% block body %}
+
+<div>  
+  <b>Accuracy before data augmentation is: 64.6%</b><br>
+  <b>Accuracy after data augmentation is: 79.3%</b>
+
+</div>
+
+<div>
+  <form action="/download">
+  <input type="submit" value='Download CNN'>
+  </form>
+</div>
+
+{% endblock %}
+
diff --git a/react_app_metarl/src/App.css b/react_app_metarl/src/App.css
new file mode 100644
index 0000000000000000000000000000000000000000..74b5e053450a48a6bdb4d71aad648e7af821975c
--- /dev/null
+++ b/react_app_metarl/src/App.css
@@ -0,0 +1,38 @@
+.App {
+  text-align: center;
+}
+
+.App-logo {
+  height: 40vmin;
+  pointer-events: none;
+}
+
+@media (prefers-reduced-motion: no-preference) {
+  .App-logo {
+    animation: App-logo-spin infinite 20s linear;
+  }
+}
+
+.App-header {
+  background-color: #282c34;
+  min-height: 100vh;
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+  justify-content: center;
+  font-size: calc(10px + 2vmin);
+  color: white;
+}
+
+.App-link {
+  color: #61dafb;
+}
+
+@keyframes App-logo-spin {
+  from {
+    transform: rotate(0deg);
+  }
+  to {
+    transform: rotate(360deg);
+  }
+}
diff --git a/react_app_metarl/src/App.js b/react_app_metarl/src/App.js
new file mode 100644
index 0000000000000000000000000000000000000000..37845757234ccb68531c10cf7a2ffc589c47e342
--- /dev/null
+++ b/react_app_metarl/src/App.js
@@ -0,0 +1,25 @@
+import logo from './logo.svg';
+import './App.css';
+
+function App() {
+  return (
+    <div className="App">
+      <header className="App-header">
+        <img src={logo} className="App-logo" alt="logo" />
+        <p>
+          Edit <code>src/App.js</code> and save to reload.
+        </p>
+        <a
+          className="App-link"
+          href="https://reactjs.org"
+          target="_blank"
+          rel="noopener noreferrer"
+        >
+          Learn React
+        </a>
+      </header>
+    </div>
+  );
+}
+
+export default App;
diff --git a/react_app_metarl/src/App.test.js b/react_app_metarl/src/App.test.js
new file mode 100644
index 0000000000000000000000000000000000000000..c27141590b6d828395f00d7d346d61bc46c82626
--- /dev/null
+++ b/react_app_metarl/src/App.test.js
@@ -0,0 +1,8 @@
+import { render, screen } from '@testing-library/react';
+import App from './App';
+
+test('renders learn react link', () => {
+  render(<App />);
+  const linkElement = screen.getByText(/lol react/i);
+  expect(linkElement).toBeInTheDocument();
+});
diff --git a/react_app_metarl/src/index.css b/react_app_metarl/src/index.css
new file mode 100644
index 0000000000000000000000000000000000000000..ec2585e8c0bb8188184ed1e0703c4c8f2a8419b0
--- /dev/null
+++ b/react_app_metarl/src/index.css
@@ -0,0 +1,13 @@
+body {
+  margin: 0;
+  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
+    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
+    sans-serif;
+  -webkit-font-smoothing: antialiased;
+  -moz-osx-font-smoothing: grayscale;
+}
+
+code {
+  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
+    monospace;
+}
diff --git a/react_app_metarl/src/index.js b/react_app_metarl/src/index.js
new file mode 100644
index 0000000000000000000000000000000000000000..d563c0fb10ba0e42724b21286eb546ee4e5734fc
--- /dev/null
+++ b/react_app_metarl/src/index.js
@@ -0,0 +1,17 @@
+import React from 'react';
+import ReactDOM from 'react-dom/client';
+import './index.css';
+import App from './App';
+import reportWebVitals from './reportWebVitals';
+
+const root = ReactDOM.createRoot(document.getElementById('root'));
+root.render(
+  <React.StrictMode>
+    <App />
+  </React.StrictMode>
+);
+
+// If you want to start measuring performance in your app, pass a function
+// to log results (for example: reportWebVitals(console.log))
+// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
+reportWebVitals();
diff --git a/react_app_metarl/src/logo.svg b/react_app_metarl/src/logo.svg
new file mode 100644
index 0000000000000000000000000000000000000000..9dfc1c058cebbef8b891c5062be6f31033d7d186
--- /dev/null
+++ b/react_app_metarl/src/logo.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 841.9 595.3"><g fill="#61DAFB"><path d="M666.3 296.5c0-32.5-40.7-63.3-103.1-82.4 14.4-63.6 8-114.2-20.2-130.4-6.5-3.8-14.1-5.6-22.4-5.6v22.3c4.6 0 8.3.9 11.4 2.6 13.6 7.8 19.5 37.5 14.9 75.7-1.1 9.4-2.9 19.3-5.1 29.4-19.6-4.8-41-8.5-63.5-10.9-13.5-18.5-27.5-35.3-41.6-50 32.6-30.3 63.2-46.9 84-46.9V78c-27.5 0-63.5 19.6-99.9 53.6-36.4-33.8-72.4-53.2-99.9-53.2v22.3c20.7 0 51.4 16.5 84 46.6-14 14.7-28 31.4-41.3 49.9-22.6 2.4-44 6.1-63.6 11-2.3-10-4-19.7-5.2-29-4.7-38.2 1.1-67.9 14.6-75.8 3-1.8 6.9-2.6 11.5-2.6V78.5c-8.4 0-16 1.8-22.6 5.6-28.1 16.2-34.4 66.7-19.9 130.1-62.2 19.2-102.7 49.9-102.7 82.3 0 32.5 40.7 63.3 103.1 82.4-14.4 63.6-8 114.2 20.2 130.4 6.5 3.8 14.1 5.6 22.5 5.6 27.5 0 63.5-19.6 99.9-53.6 36.4 33.8 72.4 53.2 99.9 53.2 8.4 0 16-1.8 22.6-5.6 28.1-16.2 34.4-66.7 19.9-130.1 62-19.1 102.5-49.9 102.5-82.3zm-130.2-66.7c-3.7 12.9-8.3 26.2-13.5 39.5-4.1-8-8.4-16-13.1-24-4.6-8-9.5-15.8-14.4-23.4 14.2 2.1 27.9 4.7 41 7.9zm-45.8 106.5c-7.8 13.5-15.8 26.3-24.1 38.2-14.9 1.3-30 2-45.2 2-15.1 0-30.2-.7-45-1.9-8.3-11.9-16.4-24.6-24.2-38-7.6-13.1-14.5-26.4-20.8-39.8 6.2-13.4 13.2-26.8 20.7-39.9 7.8-13.5 15.8-26.3 24.1-38.2 14.9-1.3 30-2 45.2-2 15.1 0 30.2.7 45 1.9 8.3 11.9 16.4 24.6 24.2 38 7.6 13.1 14.5 26.4 20.8 39.8-6.3 13.4-13.2 26.8-20.7 39.9zm32.3-13c5.4 13.4 10 26.8 13.8 39.8-13.1 3.2-26.9 5.9-41.2 8 4.9-7.7 9.8-15.6 14.4-23.7 4.6-8 8.9-16.1 13-24.1zM421.2 430c-9.3-9.6-18.6-20.3-27.8-32 9 .4 18.2.7 27.5.7 9.4 0 18.7-.2 27.8-.7-9 11.7-18.3 22.4-27.5 32zm-74.4-58.9c-14.2-2.1-27.9-4.7-41-7.9 3.7-12.9 8.3-26.2 13.5-39.5 4.1 8 8.4 16 13.1 24 4.7 8 9.5 15.8 14.4 23.4zM420.7 163c9.3 9.6 18.6 20.3 27.8 32-9-.4-18.2-.7-27.5-.7-9.4 0-18.7.2-27.8.7 9-11.7 18.3-22.4 27.5-32zm-74 58.9c-4.9 7.7-9.8 15.6-14.4 23.7-4.6 8-8.9 16-13 24-5.4-13.4-10-26.8-13.8-39.8 13.1-3.1 26.9-5.8 41.2-7.9zm-90.5 125.2c-35.4-15.1-58.3-34.9-58.3-50.6 0-15.7 22.9-35.6 58.3-50.6 8.6-3.7 18-7 27.7-10.1 5.7 19.6 13.2 40 22.5 60.9-9.2 20.8-16.6 41.1-22.2 60.6-9.9-3.1-19.3-6.5-28-10.2zM310 490c-13.6-7.8-19.5-37.5-14.9-75.7 1.1-9.4 2.9-19.3 5.1-29.4 19.6 4.8 41 8.5 63.5 10.9 13.5 18.5 27.5 35.3 41.6 50-32.6 30.3-63.2 46.9-84 46.9-4.5-.1-8.3-1-11.3-2.7zm237.2-76.2c4.7 38.2-1.1 67.9-14.6 75.8-3 1.8-6.9 2.6-11.5 2.6-20.7 0-51.4-16.5-84-46.6 14-14.7 28-31.4 41.3-49.9 22.6-2.4 44-6.1 63.6-11 2.3 10.1 4.1 19.8 5.2 29.1zm38.5-66.7c-8.6 3.7-18 7-27.7 10.1-5.7-19.6-13.2-40-22.5-60.9 9.2-20.8 16.6-41.1 22.2-60.6 9.9 3.1 19.3 6.5 28.1 10.2 35.4 15.1 58.3 34.9 58.3 50.6-.1 15.7-23 35.6-58.4 50.6zM320.8 78.4z"/><circle cx="420.9" cy="296.5" r="45.7"/><path d="M520.5 78.1z"/></g></svg>
\ No newline at end of file
diff --git a/react_app_metarl/src/reportWebVitals.js b/react_app_metarl/src/reportWebVitals.js
new file mode 100644
index 0000000000000000000000000000000000000000..5253d3ad9e6be6690549cb255f5952337b02401d
--- /dev/null
+++ b/react_app_metarl/src/reportWebVitals.js
@@ -0,0 +1,13 @@
+const reportWebVitals = onPerfEntry => {
+  if (onPerfEntry && onPerfEntry instanceof Function) {
+    import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
+      getCLS(onPerfEntry);
+      getFID(onPerfEntry);
+      getFCP(onPerfEntry);
+      getLCP(onPerfEntry);
+      getTTFB(onPerfEntry);
+    });
+  }
+};
+
+export default reportWebVitals;
diff --git a/react_app_metarl/src/setupTests.js b/react_app_metarl/src/setupTests.js
new file mode 100644
index 0000000000000000000000000000000000000000..8f2609b7b3e0e3897ab3bcaad13caf6876e48699
--- /dev/null
+++ b/react_app_metarl/src/setupTests.js
@@ -0,0 +1,5 @@
+// jest-dom adds custom jest matchers for asserting on DOM nodes.
+// allows you to do things like:
+// expect(element).toHaveTextContent(/react/i)
+// learn more: https://github.com/testing-library/jest-dom
+import '@testing-library/jest-dom';