Improving the class constructor.

- Coding Style to PSR-2
- Improving the class constructor
- Add the destructor method