added tools.h starter and basic logger.