Added defauthroutes macro. Added exists? function.