Lots of things

- Cleaned the code previously in alg.js and fixed some
- Graphical interface + first templating demo
- Demo
- Started on settings