Documentation added, readme updated.