make curve.js a class that allows you to save something to something external via a cb (thus remote config files - make them the apps responsibility)