Adding documentation and updating README