WIP - added DB, and Cross-origin filter support to API. Missing data initialization