renamed page into gpage model
updated for smooth plugin initialization