just added a bit of documentation
added logging commands, few more args and some comments