Improve level selection.

Refresh section when level changes.
Remove global variables.
Add submodules: filesave, jspdf
Add submodules: filesave, jspdf
Add support for saving plans to local file.

Update build process