Moved init into constructor

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>
logging

Signed-off-by: Juan Martin Runge <jmrunge@gmail.com>