modified url rewriting to work a little better, with a second level folder structure in views