Cleanup file, refactor, make PSR-1 and PSR-2 compliant, make save compatible with Eloquent save