added more stubs and bean manager