Add functions for quick plotting with method chain style and some refactoring