added example of function vs. oop
added Editor class