Refactored postcode service and elastic into common rest base class