Implement create_pagedir and delete_pagedir (not really tested yet)