removed unnecessary classes and attributes
support for partials
support for partials
clean up
select page at a better place