Changed grid to be flexible, added initial version of mobile mode, adding 2 new tables to the DB