Fix views

or how do it without using regular expressions or defining function on views.

Code need some refactoring, but it don't give any warnings and creates proper page (a sort of. Probably you must update some path on generate pages)

This is all. I did it, before end of weekend :)