added lpi-core.sh

LPI core