Add hibernate, base entity and context