Added some documentations and logs (using winston).