Fixing core and api to work with new db schema