Updatet web.api for new db structure
Merge origin/dbrefuctor into dbrefuctor