Added basic logging functionality.
Created util module.