Have started on documentation of teh code