added experimental remote control implementation for cpp and lua