Added 'save' function to builder.
Saving and loading files in builder.js now supported.