added initalise localstore function in home.js
modified db float to real, boolean to integer
you can now call localstore