implemented buildUri
implemented buildUri for Trakt and added junit test