Added root variable to the config.
Wrote mod_rewrite rule for pretty urls.
Page validation working.