Update and rename activitylog to activitylog.c