Automatic page object generation with APOGEN