Moved tests to a separate directory.
Added basic remote logging.