Editor Functionality added

Editor functionality added - Currently not working though. Unknown
error.