this is to store disign pattern implemented in java