Implemented the root page controll, transfer, and logic