Add apache url rewrite and routing