Completely restructured application to start again using AMD and components. Initial set up of settings markup with view model.