Added the queries for initial setup

still need to integrate them into migrations