Documentation added and README updated