backend update

- mainly script inject for front end
- db creator that runs when visiting the page but only creates if it doesn't exist.