Re-arranged the CreatePage.js to be more orderly. Re-name dsome methods in there too