add lockfile gem for later use.
start writing a logging module.