Added addRect function on MapService
Removed debugging code