Trying out a more OO approach, adding main-oo.js