Buildpack controller has dependency injection and saves to DB

Signed-off-by: Michael Fraenkel <fraenkel@us.ibm.com>