Data loading and models

- added CLI handlers for data loading;
- first models approximation;
- cleaned JS;