add controller and bootstrap