Fixing bug when parsing request pathInfo.
Adding an optional default domain
Add mapping to /essays