adding plot builder class