Moved loging states into enum, added framework to test communication