simple page loader
a little bit refactory simple page loader