Facade design pattern in java