Implemented SQL web storage and fixed minor buxes