made pageManager methods cleaner (signatures are now much shorter, constructer was added)