added graph view and controller, and bucket controller