began code cleanup

log event is now its own class
ticket printer now dynamically sets paper size