Added python class and protocol pdf