Adding documentation and notes