Updated pearl

Partially implements local storage