implement imageblock manager and connect it with jPanel