moving examples to JSON file
bug fix for making solver visible to Node