Documentation added and readme updated