change to oop structure, add update functionality, remove deprecated pages