Added dep on curl.
Basic place replacement works.
Some fixes..