Converted portlogger to a module, adjusted Makefile accordingly