Code connected with "Four Layers of Javascript OOP" tutorial