Writing bot class
Adding diagram