integrated logger to rest of project. Completed first version of hal for arduino