Index page redirects to a default page.
Export Parse and Write functions only.
Change state type from string to const int.