added string() method to url lib
Refactored routing
Updated 404 to use url lib