fixed ui; added tests; added dummy logger