Added basic logging

Added a basic logging capability to the program that writes to the
out.log file in the launch directory.