removed not used files;
added structures for logic pagination
implements new pagination logic part1