closes #5 and some basic logging included