moving code between boxes and first pass
added logging and data manager