Fixes #1622 - split the api into 4 apps: core, history, schedule, storage - exploded the settings into testing/prod