Added some basic logging, more to come