added linenumbers
implemented url rewriting