Added simple editor and player functions