Added implementation for renderer and log
Updated testcode