After tinkering for a while with the Cloud APIs, I managed to build my own (tiny) spark.io IDE. Thank you spark.io for the powerful APIs!
This is a sample and is not meant to replace spark build by any means.