Split the LP class file, and actual usage. And added settings.py example