fixed 412 parsing error in remote
added demo functions plus some comments to the push function