Fixed lock security
Added RemoteCommandManager