Fixed default-initargs of location class
Added trends api implementation