added cast to perPage number..
added simple int to showcase; integrated our rql parser.. juhuu