Versioning and cleaning local storage added