Implemented javabeans and facade design pattern