Started code for downloading contacts

This isn't brilliant code, but it's a start I think.