more layout done, experimenting with OO
some more OO in the js