Fixed view/edit switch
Moving flash to component
Added map view
Pass model to kinetic code.