Add date to output logging, and clean up Application