Added initial implementation of Editor