Added logging macro and did first preparations for multi player