The Electrum Wallet was originally programmed to have a lightweight Version of the well known Bitcoin Qt Wallet. Behind the scenes the concept works on connecting to an electrum server which holds the blockchain data. Therefor the User doesn't need to download the full chain on his device. The Dash-Coin Project extended the origin electrum wallet code with a masternode configuration tool. The electrum-sparks project is based on the electrum-dash code.
Dash uses the X11 Algorithm - SparksPay uses the NeoScrypt Algorithm for POW. Creating the neoscrypt-python wrapper made it possible to put all tools together and with some little changes the Software was usable for a very fast and light Wallet. So follow my code-snippets and you can almost support every Alt-Coin based on the BitcoinCore codebase.