Major work

Pages working in simple mode, started shop weaver and changed mysql
over to mysqli and all its updated queries, rows and objects.