* Started documentation

* Instantiated temporary structure instead of declaring it as a pointer to random memory