Writting documentantation. Fixed mispells.