fixed routes to forward to the api directly, fixed http requests to match to the api directly, added templatecache for better performance