Adding logging and libraries