added basic demo, enabled url rewriting in dev server