documenting code and added README