added base and logutil modules.