cleaning up logging, running tests. about to move over to beaglebone