Adding LocalStorage support

Adding NGStorage to working outwith internet connection

fix #3