reorganizing codepen idea for mvc structure