Database setup, Jquery updated and start of basic functionality