add base view and remove common logic from the view
added guard livereload