Ractive server side and front end

templating mostly working